package com;

import com.guli.secKill.SecKillApp;
import com.guli.secKill.service.UploadSecKillSkuService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

/*
 * @Author 罗俊
 * @date 2020/11/30 - 3:12 下午
 *
 */
@SpringBootTest(classes = SecKillApp.class)
public class UploadItem {

    @Resource
    UploadSecKillSkuService uploadSecKillSkuService;

    @Test
    void uploadToRedis(){
        uploadSecKillSkuService.uploadSkuToRedis(3);
    }
}
